// =====================================================================================
//  Copyright (C) 2024 by Jiaxing Shao. All rights reserved

//  文 件 名:  VertexArray.h
//  作    者:  Jiaxing Shao, 980853650@qq.com
//  创建时间：  2024-08-01 22:09
//  描    述:  
// =====================================================================================
#pragma once

#include "VertexBuffer.h"
#include "VertexBufferLayout.h"

class VertexArray {
public:
    VertexArray();
    ~VertexArray();

public:
    void bind() const;
    void unbind() const;
    void addBuffer(const VertexBuffer &vb, const VertexBufferLayout &layout);

private:
    unsigned int m_rendererId;
};